

        <g:set var="entityName" value="${message(code: 'score.label', default: 'Score')}" />
            <div class="list">
                <table>
                    <thead>
                        <tr>
                        
                            <th><g:message code="score.student.label" default="Student" /></th>
                   	    
                            <g:sortableColumn property="score" title="${message(code: 'score.score.label', default: 'Score')}" />
                        
                            <th><g:message code="score.exam.label" default="Exam" /></th>
                   	    
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${scoreInstanceList}" status="i" var="scoreInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link action="show" id="${scoreInstance.id}">${fieldValue(bean: scoreInstance, field: "student")}</g:link></td>
                        
                            <td>${fieldValue(bean: scoreInstance, field: "score")}</td>
                        
                            <td>${fieldValue(bean: scoreInstance, field: "exam")}</td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <x:paginate total="${scoreInstanceTotal}" />
            </div>
